package com.wfbi.security.chapter31.mapper;

import com.wfbi.security.chapter31.model.NoticeMessage;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author wfbi
 * @version 1.0
 * @date 2022/1/10 4:54 PM
 */
@Mapper
public interface NoticeMessageMapper {
    List<NoticeMessage> findAll();

    NoticeMessage findById(Integer id);

    void save(NoticeMessage noticeMessage);

    void update(NoticeMessage noticeMessage);
}
